Optimal. Leaf size=47 \[ \frac{a \tanh ^{-1}(\cosh (c+d x))}{2 d}-\frac{a \coth (c+d x) \text{csch}(c+d x)}{2 d}+\frac{b \cosh (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0539296, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {3215, 1157, 388, 206} \[ \frac{a \tanh ^{-1}(\cosh (c+d x))}{2 d}-\frac{a \coth (c+d x) \text{csch}(c+d x)}{2 d}+\frac{b \cosh (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3215
Rule 1157
Rule 388
Rule 206
Rubi steps
\begin{align*} \int \text{csch}^3(c+d x) \left (a+b \sinh ^4(c+d x)\right ) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a+b-2 b x^2+b x^4}{\left (1-x^2\right )^2} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=-\frac{a \coth (c+d x) \text{csch}(c+d x)}{2 d}-\frac{\operatorname{Subst}\left (\int \frac{-a-2 b+2 b x^2}{1-x^2} \, dx,x,\cosh (c+d x)\right )}{2 d}\\ &=\frac{b \cosh (c+d x)}{d}-\frac{a \coth (c+d x) \text{csch}(c+d x)}{2 d}+\frac{a \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\cosh (c+d x)\right )}{2 d}\\ &=\frac{a \tanh ^{-1}(\cosh (c+d x))}{2 d}+\frac{b \cosh (c+d x)}{d}-\frac{a \coth (c+d x) \text{csch}(c+d x)}{2 d}\\ \end{align*}
Mathematica [A] time = 0.0260933, size = 82, normalized size = 1.74 \[ -\frac{a \text{csch}^2\left (\frac{1}{2} (c+d x)\right )}{8 d}-\frac{a \text{sech}^2\left (\frac{1}{2} (c+d x)\right )}{8 d}-\frac{a \log \left (\tanh \left (\frac{1}{2} (c+d x)\right )\right )}{2 d}+\frac{b \sinh (c) \sinh (d x)}{d}+\frac{b \cosh (c) \cosh (d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.04, size = 38, normalized size = 0.8 \begin{align*}{\frac{1}{d} \left ( a \left ( -{\frac{{\rm csch} \left (dx+c\right ){\rm coth} \left (dx+c\right )}{2}}+{\it Artanh} \left ({{\rm e}^{dx+c}} \right ) \right ) +b\cosh \left ( dx+c \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.23746, size = 155, normalized size = 3.3 \begin{align*} \frac{1}{2} \, b{\left (\frac{e^{\left (d x + c\right )}}{d} + \frac{e^{\left (-d x - c\right )}}{d}\right )} + \frac{1}{2} \, a{\left (\frac{\log \left (e^{\left (-d x - c\right )} + 1\right )}{d} - \frac{\log \left (e^{\left (-d x - c\right )} - 1\right )}{d} + \frac{2 \,{\left (e^{\left (-d x - c\right )} + e^{\left (-3 \, d x - 3 \, c\right )}\right )}}{d{\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} - e^{\left (-4 \, d x - 4 \, c\right )} - 1\right )}}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.7422, size = 1867, normalized size = 39.72 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.19865, size = 155, normalized size = 3.3 \begin{align*} \frac{b{\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}}{2 \, d} + \frac{a \log \left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )} + 2\right )}{4 \, d} - \frac{a \log \left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )} - 2\right )}{4 \, d} - \frac{a{\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}}{{\left ({\left (e^{\left (d x + c\right )} + e^{\left (-d x - c\right )}\right )}^{2} - 4\right )} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]